<html>
    <head>
        <title>Controls Help</title>
    </head>

    <body style="background-color:#383838" style="color:#CCCCCC">
		<table border="1" width="100%" cellpadding="1">
            <tr>
                <td align="middle"> </td>
            </tr>		
            <tr>
                <td align="middle">You can reference the example workspace provided at:</td>
            </tr>
            <tr>
                <td align="left">{SetupPath}\test\btunittest\BehaviacData\BehaviacUnitTestCpp.workspace.xml</td>
            </tr>
            <tr>
                <td align="left">{SetupPath}\integration\BattleCityDemo\Assets\BTWorkspaceBattleCity.workspace.xml</td>
            </tr>
            <tr>
                <td align="left">{SetupPath}\example\spaceship\data\ships.workspace.xml</td>
            </tr>			
            <tr>
                <td align="middle"> </td>
            </tr>
		</table>

		<table border="1" width="100%" cellpadding="1">
            <tr>
                <th width="40%" align="left">Operation</th>
                <th width="60%" align="left">Control</th>
            </tr>
            <tr>
                <td width="40%" align="left">Select the node</td>
                <td width="60%" align="left">Left Mouse Click</td>
            </tr>
			<tr>
                <td width="40%" align="left">Drag the selected node</td>
                <td width="60%" align="left">Left Mouse Drag</td>
            </tr>
            <tr>
                <td width="40%" align="left">Drag the sub-tree of the selected node</td>
                <td width="60%" align="left">Shift + Left Mouse Drag</td>
            </tr>
            <tr>
                <td width="40%" align="left">Pop up the menu</td>
                <td width="60%" align="left">Right Mouse Click</td>
            </tr>
            <tr>
                <td width="40%" align="left">Scale</td>
                <td width="60%" align="left">Middle Mouse Wheel or Alt + Right Mouse Drag</td>
            </tr>
            <tr>
                <td width="40%" align="left">Pan</td>
                <td width="60%" align="left">Middle Mouse Drag or Alt + Left Mouse Drag</td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td width="40%" align="left">New Behavior</td>
                <td width="60%" align="left">Ctrl + N</td>
            </tr>
			<tr>
                <td width="40%" align="left">Open Behavior</td>
                <td width="60%" align="left">Alt + Shift + O</td>
            </tr>
			<tr>
                <td width="40%" align="left">Find Node</td>
                <td width="60%" align="left">Ctrl + F</td>
            </tr>
			<tr>
                <td width="40%" align="left">Find All Nodes</td>
                <td width="60%" align="left">Ctrl + Shift + F</td>
            </tr>
			<tr>
                <td width="40%" align="left">Connect Server</td>
                <td width="60%" align="left">Ctrl + L</td>
            </tr>
			<tr>
                <td width="40%" align="left">Reload Workspace</td>
                <td width="60%" align="left">Ctrl + R</td>
            </tr>
            <tr>
                <td width="40%" align="left">Fit to view</td>
                <td width="60%" align="left">Ctrl + E</td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td width="40%" align="left">Node Navigate</td>
                <td width="60%" align="left">Up/Down/Left/Right</td>
            </tr>
			<tr>
                <td width="40%" align="left">Swap Node</td>
                <td width="60%" align="left">Ctrl + Up/Down</td>
            </tr>
			<tr>
                <td width="40%" align="left">Delete the selected node</td>
                <td width="60%" align="left">Delete</td>
            </tr>
            <tr>
                <td width="40%" align="left">Delete the selected node and its children</td>
                <td width="60%" align="left">Shift + Delete</td>
            </tr>
            <tr>
                <td width="40%" align="left">Duplicate a single node</td>
                <td width="60%" align="left">Drag it by Ctrl + Left Mouse</td>
            </tr>
            <tr>
                <td width="40%" align="left">Duplicate a node as well as its children</td>
                <td width="60%" align="left">Drag it by Ctrl + Shift + Left Mouse</td>
            </tr>
            <tr>
                <td width="40%" align="left">Copy a node</td>
                <td width="60%" align="left">Ctrl + C</td>
            </tr>
            <tr>
                <td width="40%" align="left">Cut a single node</td>
                <td width="60%" align="left">Ctrl + X</td>
            </tr>
            <tr>
                <td width="40%" align="left">Cut a node as well as its children</td>
                <td width="60%" align="left">Ctrl + Shift + X</td>
            </tr>
            <tr>
                <td width="40%" align="left">Paste the previously copied node</td>
                <td width="60%" align="left">Hold down Ctrl + V and click on an appearing arrow to paste it at the given position</td>
            </tr>
            <tr>
                <td width="40%" align="left">Paste the previously copied node and its children</td>
                <td width="60%" align="left">Hold down Ctrl + Shift + V and click to paste the whole copied branch</td>
            </tr>
            <tr>
                <td width="40%" align="left">Save Behavior</td>
                <td width="60%" align="left">Ctrl + S</td>
            </tr>
            <tr>
                <td width="40%" align="left">Save All Behaviors</td>
                <td width="60%" align="left">Ctrl + Shift + S</td>
            </tr>
            <tr>
                <td width="40%" align="left">Export Behavior</td>
                <td width="60%" align="left">Ctrl + T</td>
            </tr>
            <tr>
                <td width="40%" align="left">Export All Behaviors</td>
                <td width="60%" align="left">Ctrl + Shift + T</td>
            </tr>
            <tr>
                <td width="40%" align="left">Check Error</td>
                <td width="60%" align="left">Ctrl + K</td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
			<tr>
                <td align="middle"> </td>
            </tr>
            <tr>
                <td width="40%" align="left">Drag the selected node</td>
                <td width="60%" align="left">Left Mouse Drag</td>
            </tr>
            <tr>
                <td width="40%" align="left">Set/Disable/Clear break points circularly</td>
                <td width="60%" align="left">Double Left Click at the Left/Right Margin</td>
            </tr>
            <tr>
                <td width="40%" align="left">Collapse/Expand sub tree</td>
                <td width="60%" align="left">Double Left Click at the center region</td>
            </tr>
            <tr>
                <td width="40%" align="left">Load an existing behavior</td>
                <td width="60%" align="left">Double Left Click a behavior node in the node explorer</td>
            </tr>
            <tr>
                <td width="40%" align="left">Attach a new node</td>
                <td width="60%" align="left">Drag it by Left Mouse from the node explorer to a node in the graph. Arrows will appear which allow you to add the node in a specific location of the graph</td>
            </tr>
            <tr>
                <td width="40%" align="left">Move a single node in the graph</td>
                <td width="60%" align="left">Drag it on another node by holding down the Left Mouse. Arrows will appear which allow you to place the node in a specific location of the graph</td>
            </tr>
            <tr>
                <td width="40%" align="left">Attach a predicate to a node</td>
                <td width="60%" align="left">Drag it from the node explorer to a node in the graph by holding down Left Mouse</td>
            </tr>
            <tr>
                <td width="40%" align="left">Select a predicate</td>
                <td width="60%" align="left">Select the node it is attached to and then Left Click the predicate itself</td>
            </tr>
            <tr>
                <td width="40%" align="left">Ajust the order of predicates</td>
                <td width="60%" align="left">Select a predicate and then drag it down or up in its parent node</td>
            </tr>
            <tr>
                <td width="40%" align="left">Edit a node or predicate</td>
                <td width="60%" align="left">Select it and its property window is updated</td>
            </tr>
            <tr>
                <td width="40%" align="left">Delete a behavior or folder from the node explorer</td>
                <td width="60%" align="left">You can also press Delete</td>
            </tr>
        </table>
    </body>
</html>
